import Vue from 'vue'
import Vuex from 'vuex'
import * as actions from './actions'
import * as getters from './getters'
import history from './modules/history'
import articles from './modules/articles'

Vue.use(Vuex)

export default new Vuex.Store({
	actions,
	getters,
	modules: { articles, history },
	strict: true
})

// export default new Vuex.Store({
//   actions,
//   getters,
//   modules: {
//     cart,
//     products
//   },
//   strict: debug,
//   plugins: debug ? [createLogger()] : []
// })